// effect_blood

local effect_blood = Assault.Entities:New("effect_blood")

// Derive from entity

effect_blood:DeriveFromEntity("effect_base")

// On entity remove

function effect_blood:OnEntitySpawn()
	local Entity = Assault.Entities.EntitiesQuickCreate("effect_sparks", self:EntityGetPosition(), false, false, Color(255, 50, 50, 255))
	
	// Entity remove
	
	self:EntityRemove()
end

// Create

effect_blood:Create()